<template>
	<view :style="themeColor">
		<view class="page">
			<view
				class="flex flex-direction flex-wrap align-stretch justify-center benben-position-layout flex feedBackDetail_flex_0"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-wrap align-stretch justify-between feedBackDetail_fd0_0'>
					<view class='flex flex-wrap align-center feedBackDetail_fd0_0_c0' @tap.stop="handleJumpDiy"
						data-type="back" data-url="1">
						<text class='fu-iconfont2  feedBackDetail_fd0_0_c0_c0'>&#xe794;</text>
					</view>
					<view class='flex flex-wrap align-center'>
						<text class='feedBackDetail_fd0_0_c1_c0'>历史反馈</text>
					</view>
					<view class='flex align-center justify-end feedBackDetail_fd0_0_c2'>
					</view>
				</view>

			</view>
			<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
			<!---flex布局flex布局开始-->
			<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout feedBackDetail_flex_1">
				<template v-for='(item,key0) in feedbackList'>
					<view class='flex flex-wrap align-start feedBackDetail_fd1_0' :key='key0'>
						<image class='feedBackDetail_fd1_0_c0' mode="aspectFill" :src='item.user_avatar'></image>
						<view class='flex flex-direction flex-wrap align-stretch flex-sub feedBackDetail_fd1_0_c1'>
							<text class='feedBackDetail_fd1_0_c1_c0'>{{item.body}}</text>
							<view class='flex flex-wrap align-center feedBackDetail_fd1_0_c1_c1'>
								<template v-for='(child,key1) in item.thumb'>
									<view class='flex flex-wrap align-center feedBackDetail_fd1_0_c1_c1_c0' :key='key1'>
										<image class='feedBackDetail_fd1_0_c1_c1_c0_c0' mode="aspectFill" :src='child'
											@tap.stop="(child)"></image>
									</view>
								</template>

							</view>
							<view class='flex flex-wrap align-center feedBackDetail_fd1_0_c1_c2'>
								<text class='feedBackDetail_fd1_0_c1_c2_c0'>反馈类型：</text>
								<text class='feedBackDetail_fd1_0_c1_c2_c0'>{{item.type}}</text>
							</view>
							<view class='flex flex-wrap align-center feedBackDetail_fd1_0_c1_c3'>
								<text class='feedBackDetail_fd1_0_c1_c2_c0'>反馈时间：</text>
								<text class='feedBackDetail_fd1_0_c1_c2_c0'>{{item.create_time}}</text>
							</view>
							<view class='flex flex-wrap align-center feedBackDetail_fd1_0_c1_c4'
								v-if="item.is_replay=='1'">
								<text class='self-start feedBackDetail_fd1_0_c1_c4_c0'>平台回复：</text>
								<text class='flex-sub feedBackDetail_fd1_0_c1_c4_c1'>{{item.replay}}</text>
							</view>
						</view>
					</view>
				</template>
				<fu-empty :pagingListLoadedAll="pagingListLoadedAll" :pagingListNoListData="pagingListNoListData"
					:listDataLength="listDataLength" :isLoadInit="isLoadInit"></fu-empty>
			</view>

			<!---flex布局flex布局结束-->


		</view>
	</view>
</template>
<script>
	import pagingList from '@/common/mixin/paging_list.js';
	import {
		validate
	} from '@/common/utils/validate.js'

	export default {
		components: {},
		mixins: [pagingList],

		data() {
			return {
				"minixPagingListsApi": "",
				"pageingListApiMethod": "",
				"allowOnloadGetList": false,
				"feedbackList": []
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},

		},
		watch: {},
		onLoad(options) {
			this.getFeedbackFunc()
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {

		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {
			this.getFeedbackFunc()
		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			//获取反馈记录信息
			getFeedbackFunc() {
				this.minixPagingListsApi = global.apiUrls.post636dc7436d54d;
				this.pageingListApiMethod = 'get';
				this.allowOnloadGetList = false;
				this.pagingListPostDataContent = {}
				this.listData = [];
				this.feedbackList = this.listData;
				this.pagingListToggle();

			},
			pagingListPostData() {
				return this.pagingListPostDataContent
			}
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: #fff;
		background-size: 100% auto;
	}

	.feedBackDetail_flex_0 {
		border-bottom: 1px solid #eee;
		background: #fff;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.feedBackDetail_fd0_0_c2 {
		padding: 0rpx 0rpx 0rpx 0rpx;
		width: 100rpx;
	}

	.feedBackDetail_fd0_0_c1_c0 {
		font-size: 36rpx;
		font-weight: 500;
		color: #333333;
		line-height: 50rpx;
	}

	.feedBackDetail_fd0_0_c0_c0 {
		font-size: 36rpx;
		font-weight: 400;
		color: #333;
	}

	.feedBackDetail_fd0_0_c0 {
		width: 100rpx;
	}

	.feedBackDetail_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
		line-height: 88rpx;
	}

	.feedBackDetail_flex_1 {
		padding: 0rpx 24rpx 0rpx 24rpx;
	}

	.feedBackDetail_fd1_0_c1_c4_c1 {
		line-height: 40rpx;
		font-size: 28rpx;
		font-weight: 400;
		color: #333333;
	}

	.feedBackDetail_fd1_0_c1_c4_c0 {
		line-height: 40rpx;
		font-size: 28rpx;
		font-weight: 400;
		color: rgba(227, 29, 26, 1);
	}

	.feedBackDetail_fd1_0_c1_c4 {
		background: rgba(248, 248, 248, 1);
		padding: 24rpx 16rpx 24rpx 16rpx;
		margin: 32rpx 0rpx 0rpx 5rpx;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		background-size: 100% auto !important;
	}

	.feedBackDetail_fd1_0_c1_c3 {
		margin: 0rpx 0rpx 0rpx 5rpx;
	}

	.feedBackDetail_fd1_0_c1_c2_c0 {
		line-height: 33rpx;
		font-size: 24rpx;
		font-weight: 400;
		color: #999999;
	}

	.feedBackDetail_fd1_0_c1_c2 {
		margin: 0rpx 0rpx 16rpx 5rpx;
	}

	.feedBackDetail_fd1_0_c1_c1_c0_c0 {
		width: 180rpx;
		height: 180rpx;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
	}

	.feedBackDetail_fd1_0_c1_c1_c0 {
		margin: 0rpx 5rpx 24rpx 5rpx;
	}

	.feedBackDetail_fd1_0_c1_c1 {
		padding: 0rpx 0rpx 8rpx 0rpx;
	}

	.feedBackDetail_fd1_0_c1_c0 {
		line-height: 43rpx;
		font-size: 28rpx;
		font-weight: 400;
		color: #333333;
		margin: 0rpx 0rpx 24rpx 5rpx;
	}

	.feedBackDetail_fd1_0_c1 {
		margin: 0rpx 0rpx 0rpx 0rpx;
	}

	.feedBackDetail_fd1_0_c0 {
		width: 72rpx;
		height: 72rpx;
		border-radius: 36rpx 36rpx 36rpx 36rpx;
		margin: 0rpx 11rpx 0rpx 0rpx;
	}

	.feedBackDetail_fd1_0 {
		border-bottom: 1px solid #eee;
		padding: 24rpx 0rpx 32rpx 0rpx;
	}
</style>